package com.rfqx.dao;

import java.util.Arrays;
import java.util.List;

import com.rfqx.entity.Customer;

public class CustomerDao {
	
	public List<Customer> listAll() {
		return Arrays.asList(
				new Customer(1l,"Bisso Name", "Phone12432", "ercarval@gmail.com")
				,new Customer(2l,"Seu Ze", "34982429", "seuze@gmail.com")
				,new Customer(3l,"Manuel da Padaria", "4354353454", "manudapadoca@gmail.com"));
	}

	public void create(Customer customer) {
		customer.setId(12l);
	}
	
	public void update(Customer customer) { 
		System.out.println("Atualizando : " + customer);
	}

}
